package com.dmw.vo;


import java.io.Serializable;

/**
 * Token
 */
public class TokenVO implements Serializable {
    private String Token;//登录成功标识字符串
    private Integer expTime;//有效时长
    private Long genTime;//生成时间，以毫秒表示

    public TokenVO(String token, Integer expTime, Long genTime) {
        Token = token;
        this.expTime = expTime;
        this.genTime = genTime;
    }

    @Override
    public String toString() {
        return "TokenVO{" +
                "Token='" + Token + '\'' +
                ", expTime=" + expTime +
                ", genTime=" + genTime +
                '}';
    }

    public String getToken() {
        return Token;
    }

    public void setToken(String token) {
        Token = token;
    }

    public Integer getExpTime() {
        return expTime;
    }

    public void setExpTime(Integer expTime) {
        this.expTime = expTime;
    }

    public Long getGenTime() {
        return genTime;
    }

    public void setGenTime(Long genTime) {
        this.genTime = genTime;
    }
}
